<div id="labels" class="blog-nav">
	<div>Labels</div>
	<ul>
	<? foreach ($labels as $label) { ?>
		<li<?if ($label->getLabelID() == $labelID) echo " class=\"selected\"";?>>
			<a href="viewPosts?labelID=<?=$label->getLabelID();?>"><?=$label->getLabel();?></a>
		</li>
	<? } ?>
	</ul>
</div>
<div id="search" class="blog-nav">
	<div>Search</div>
	<form action="viewPosts" method="get">
		<input type="text" name="keyword" value="<?=$keyword;?>"/>
	</form>
</div>
<div id="rss" class="blog-nav">
	<div>RSS</div>
	<ul>
		<li><a href="http://feeds.feedburner.com/ericdingle" target="_blank">Subscribe</a></li>
	</ul>
</div>
<div id="friends" class="blog-nav">
	<div>Read my friends</div>
	<ul>
	<? foreach ($links as $link) { ?>
		<li><a href="<?=$link->getLink();?>" target="_blank"><?=$link->getLabel();?></a></li>
	<? } ?>
	</ul>
</div>
